<?php

namespace App\Http\Controllers\Front;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use Session,Auth;
use App\Models\User;

class MyInfoController extends Controller
{

    public function index()
    {

        $user = Auth::user();
        return view('front.my.user_info',compact('user'));
    }

    public function create()
    {
        //
    }


    public function store(Request $request,User $user)
    {
        //$request->all();StoreRequest $request,Activity $activity
        dd($request->all());
    }

    public function show($id)
    {
        //
    }


    public function edit($id)
    {
        //
    }


    public function update(Request $request, $id)
    {
        //
    }


    public function destroy($id)
    {
        //
    }
}
